<?php
/**
 * Created by PhpStorm.
 * User: takenagagou
 * Date: 2017/1/5
 * Time: 下午5:57
 */

namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Models\User;

class BaseController extends Controller
{
    public function __construct()
    {





    }



    public function model_name($class)
    {
        return (new \ReflectionClass($class))->getShortName();
    }
}
